<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>http服务器测试</title>
</head>
<body>
    <form action="/onLogin" method="GET">
        用户名: <input type="text" name="name">  <br>
        密&nbsp;码: <input type="password" name="password"> <br>
        <input type="submit" value="Submit">
    </form>
    <h3>文件上传：</h3>
        选择一个文件上传: <br />
        <form action="/file_upload" method="post" enctype="multipart/form-data">
            <input type="file" name="image" size="50" />
            <br />
            <input type="submit" value="上传文件" />
        </form>
</body>
</html>